const mongoose = require('./mongooes.js');

const {
    Schema
} = mongoose;

const userinfoSchema = new Schema({
    account: {
        type: String,
        required: true
    },
    password:{
        type:String,
        required:true
    },
    username: {
        type: String,
    },
});

module.exports = mongoose.model('Userinfo', userinfoSchema)